import {
  BRAND_TYPE_OPTIONS,
  CATE_ENABLE_OPTIONS as BRAND_ENABLE_OPTIONS,
} from '@/constants/basics';

export const FORM_ITEMS = [
  {
    prop: 'brandName',
    label: '品牌名称',
    type: 'input',
  },
  {
    prop: 'brandState',
    label: '启用状态',
    type: 'select',
    clearable: true,
    options: BRAND_ENABLE_OPTIONS
  },
  {
    prop: 'brandType',
    label: '品牌类型',
    type: 'select',
    clearable: true,
    options: BRAND_TYPE_OPTIONS,
    searchType: 'EQ',
  },
]

export const TABLE_COLUMNS = [
  {
    title: '品牌ID',
    key: 'uuid',
  },
  {
    title: '品牌名称',
    key: 'brandName',
  },
  {
    title: '品牌类型',
    key: 'brandTypeStr',
  },
  {
    title: '英文名称',
    key: 'brandEnName',
  },
  {
    title: '档次定位(内部)',
    key: 'insideLevelStr',
  },
  {
    title: '档次定位(外部)',
    key: 'outsideLevelStr',
  },
  {
    title: '创建时间',
    key: 'createOpeTime',
  },
  {
    title: '审批状态',
    key: 'auditStateStr',
  },
  {
    title: '启用状态',
    key: 'brandStateStr',
  },
]
